package com.peng.design.acyclicvisitor;

import com.peng.design.acyclicvisitor.acceptable.Hayes;
import com.peng.design.acyclicvisitor.acceptable.Zoom;
import lombok.extern.slf4j.Slf4j;

/**
 * ConfigureForDosVisitor
 *
 * @author: lupeng10
 * @create: 2023-04-28 11:49
 */
@Slf4j
public class ConfigureForDosVisitor implements VisitorAdapter {
    @Override
    public void visit(Hayes hayes) {
        log.info(hayes + "使用Dos进行配置");
    }

    @Override
    public void visit(Zoom zoom) {
        log.info(zoom + "使用Dos进行配置");
    }
}
